package com.swyd.service.impl;

import com.swyd.mapper.DiagProcMapper;
import com.swyd.pojo.DiagProc;
import com.swyd.service.DiagProcService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DiagProcServiceImpl implements DiagProcService {
    @Autowired
    private DiagProcMapper diagProcMapper;

    @Override
    public DiagProc selectDiagProc(String procId) {
        return diagProcMapper.selDiagProc(procId);
    }

    @Override
    public List<DiagProc> selectAllDiagProc() {
        return diagProcMapper.selectAll();
    }
}
